package sddz.foodmanage.model;

import java.util.List;

/**
 * @Date:2019/7/10
 * @Author:lbb
 * 中队列表
 */

public class ZhongduiListBean {

    /**
     * message : 成功
     * status_code : 200
     * data : [{"user_id":56,"name":"test","access":["detachment"],"avatar":"/storage/default/avatar.jpg","created_at":"2019-06-25 16:59:04","status":1,"type":2,"supplier_id":75,"service_ended_at":"2019-07-08 00:00:00"},{"user_id":76,"name":"一中队","access":["detachment"],"avatar":"/storage/default/avatar.jpg","created_at":"2019-07-06 16:02:46","status":1,"type":2,"supplier_id":75,"service_ended_at":"2019-07-06 00:00:00"},{"user_id":77,"name":"二中队","access":["detachment"],"avatar":"/storage/default/avatar.jpg","created_at":"2019-07-06 16:03:07","status":1,"type":2,"supplier_id":75,"service_ended_at":"2019-07-06 00:00:00"}]
     */

    private String message;
    private int status_code;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * user_id : 56
         * name : test
         * access : ["detachment"]
         * avatar : /storage/default/avatar.jpg
         * created_at : 2019-06-25 16:59:04
         * status : 1
         * type : 2
         * supplier_id : 75
         * service_ended_at : 2019-07-08 00:00:00
         */

        private int user_id;
        private String name;
        private String avatar;
        private String created_at;
        private int status;
        private int type;
        private int supplier_id;
        private String service_ended_at;
        private List<String> access;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getSupplier_id() {
            return supplier_id;
        }

        public void setSupplier_id(int supplier_id) {
            this.supplier_id = supplier_id;
        }

        public String getService_ended_at() {
            return service_ended_at;
        }

        public void setService_ended_at(String service_ended_at) {
            this.service_ended_at = service_ended_at;
        }

        public List<String> getAccess() {
            return access;
        }

        public void setAccess(List<String> access) {
            this.access = access;
        }
    }
}
